.PHONY: all clean

all: test report.pdf

test: main.cpp
	g++ -o test main.cpp

report.pdf: report.tex
	xelatex report.tex
	xelatex report.tex

report: report.pdf
	okular report.pdf &

clean:
	rm -f report.pdf test *.o *.log *.aux
